<?php
namespace test;
use test\Client;
use test\PHPUnit_Framework_TestCase;

class MyGreeter_Client_Test extends PHPUnit_Framework_TestCase
{
    public $greeter;

    public function __construct()
    {
        $this->greeter = new Client();
    }

    public function test_Instance()
    {
        $str = $this->assertEquals(
            get_class($this->greeter),
            'Client'
        );

        echo $str;
    }

    public function test_getGreeting()
    {
        $res = $this->assertTrue(
            strlen($this->greeter->getGreeting()) > 0
        );

        echo $res;

    }
}



